package com.medisign.sign.log.dao;

import com.medisign.sign.log.pojo.TbSignData;
import com.medisign.sign.log.pojo.TbSignLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface TbSignLogDao extends JpaRepository<TbSignLog, Long>, JpaSpecificationExecutor<TbSignLog> {

    TbSignLog findByFileCodeAndStrategy(String fileCode, String strategy);

    TbSignLog findByFileCode(String fileCode);
}
